www.gusucode.com > 良精ASP微博管理系统 V1.0 > 良精ASP微博管理系统 V1.0\code\js\speed_v1.6-min.js

    var QosS=new Object();QosS.C={version:"1.6",author:"hunkliu",domain:"",percent:50,site:"default"};QosS.G={spTimer:null,sUrl:"",nUrl:"",isN:false,sT:(new Date().getTime()),tp3:0,tp4:0,tp5:0,c:null,d:null};QosS.addEventHandler=function(C,B,A){if(C.addEventListener){C.addEventListener(B,A,false);return true}else{if(C.attachEvent){C["e"+B+A]=A;C[B+A]=function(){C["e"+B+A](window.event)};C.attachEvent("on"+B,C[B+A]);return true}else{return false}}};QosS.report=function(){var A=(new Date().getTime()-QosS.G.sT);QosS.c=new Image;QosS.c.onload=(QosS.c.onerror=function(){delete QosS.c});QosS.c.src=QosS.G.sUrl+"&1="+QosS.G.topSpan+"&2="+A+"&3="+QosS.G.tp3+"&4="+QosS.G.tp4+"&5="+QosS.G.tp5;if(QosS.G.isN){QosS.d=new Image;QosS.d.onload=(QosS.d.onerror=function(){delete QosS.d});QosS.d.src=QosS.G.nUrl+"&1="+QosS.G.topSpan+"&2="+A+"&3="+QosS.G.tp3+"&4="+QosS.G.tp4+"&5="+QosS.G.tp5}return };QosS.topSpan=function(A,B,C){QosS.C.site=A;QosS.C.percent=parseInt(B);QosS.G.sUrl=""+QosS.C.domain+"/collect?type=1&name="+QosS.C.site;if(C==1){QosS.G.nUrl=QosS.G.nUrl+QosS.C.site;QosS.G.isN=true}QosS.G.topSpan=new Date().getTime()-QosS.G.sT};QosS.timePoint3=function(){QosS.G.tp3=new Date().getTime()-QosS.G.sT};QosS.timePoint4=function(){QosS.G.tp4=new Date().getTime()-QosS.G.sT};QosS.timePoint5=function(){QosS.G.tp5=new Date().getTime()-QosS.G.sT};QosS.endCheck=function(){var A=Math.ceil(QosS.C.percent*Math.random());if(A!=1){return }QosS.addEventHandler(window,"load",QosS.report)};QosS.endCheckNow=function(){var A=Math.ceil(QosS.C.percent*Math.random());if(A!=1){return }QosS.report()}
/*  |xGv00|9bc65d939a2e00adbd0f3ee42e09a2ee */